<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<script type="text/javascript">
	$(document).ready(function(){
	});
</script>

<div class="container">
	<div>
		<sec:authorize access="!isAuthenticated()">
			<a href="<c:url value='/login'/>" >Login</a> | <a href='<c:url value='/register'/>' >Register</a>
		</sec:authorize> 
		<sec:authorize access="isAuthenticated()">Welcome <sec:authentication property="principal.username" /> <a href="<c:url value='/logout'></c:url>">logout</a></sec:authorize>
		<div class="g-plusone" ></div>
	</div>
	<div style="position: absolute;">
		<h2>Plane Spotter <sup><font color="red">BETA</font></sup></h2>
	</div>
</div>